package com.ambulance.project.biz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 调度车载设备记录信息表
 * </p>
 *
 * @author zr
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_dispatchDevice")
@ApiModel(value="DispatchDevice对象", description="调度车载设备记录信息表")
public class DispatchDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "调度设备数据记录标识")
    @TableId(value = "device_recordID", type = IdType.AUTO)
    private Integer deviceRecordid;

    @ApiModelProperty(value = "设备标识")
    @TableField("deviceID")
    private Integer deviceID;

    @ApiModelProperty(value = "调度标识")
    @TableField("dispatchID")
    private Integer dispatchID;

    @ApiModelProperty(value = "数据开始时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "数据结束时间")
    @TableField("end_times")
    private LocalDateTime endTimes;

    @TableField(exist = false)
    @ApiModelProperty(value = "数据结束时间")
    private LocalDateTime timeQuantum;

}
